@import "../common.less";

.policy-matrix {
  min-height: calc(100vh - 200px);

  .home-header {
    position: relative;

    .top-tab {
      position: absolute;
      bottom: 0;
      left: 0;
      width:100%;
      height: 70px;
      font-size: 18px;

      .top-tab2{
        width: 1204px;
        margin: 0 auto;
        display: flex;
        align-items: flex-end;
      }

      .tab {
        width: 160px;
        height: 60px;
        background: #365295;
        color: white;
        margin-right: 12px;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
        text-align: center;
        line-height: 60px;
        cursor: pointer;
      }

      .tab-active {
        height: 70px;
        background: white;
        color: #365295;
        line-height: 70px;
        position: relative;
      }

      .tab-active:after {
        content: "";
        width: 0;
        height: 0;
        border-top: 10px solid #365295;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        position: absolute;
        top: 65px;
        left: 70px;
      }
    }
  }
}

.chart-title {
  margin: auto;
  text-align: center;
  color: #034ea2;
  margin-bottom: 36px;
  margin-top: 48px;

  h2 {
    color: #034ea2;
  }
}


.matrix-tab{
  /*width: 90%;*/
  width: 1204px;
  margin: auto;
  margin-top: 40px;

  nz-tabset {
    min-height: 100px;
  }

  ::ng-deep .ant-tabs .ant-tabs-large-bar .ant-tabs-nav-container{ font-size:22px; }
  ::ng-deep .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-btn{ 
        font-size:16px; font-weight:bold; color: #345298;
        line-height:62px; padding:0 17px;
        border:1px solid #365196; /*border-bottom:0;*/
        margin-right:10px;          /* 应该是12, 但会有横向滚动, 暂时取消 */
  }
  ::ng-deep .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{ 
        /*line-height: 76px;*/
  }

  ::ng-deep .ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn{ font-size:20px; background-color: #f3f7fa; }
  ::ng-deep .ant-tabs-ink-bar { background-color: #375295; display:none; }

  .ant-tabs-tab:after{}

  ::ng-deep .ant-tabs-top>.ant-tabs-nav::before{ border:4px solid #365194;}
  ::ng-deep .ant-tabs-large>.ant-tabs-nav .ant-tabs-tab{ padding-bottom:0; margin-bottom:8px;  background:url('../../assets/image/analysis-matrix/tab-bgr.png') no-repeat; background-position:right bottom; }

}



.city-advise{
  font-size: 16px;


  .city-advise-item{

    /*display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;*/
    position: relative;

    .status-point2{
      text-indent: 32px;
      line-height:2;
    }

    ::ng-deep .status-point2.paragraph_menu_1 { font-size:18px; line-height:36px; font-weight:bold; text-indent: 0px; }
    ::ng-deep .status-point2.paragraph_menu_2 { font-size:18px; line-height:36px; font-weight:bold; text-indent: 0px; }
    ::ng-deep .status-point2.paragraph_menu_3 { font-size:18px; line-height:36px; font-weight:bold; text-indent: 0px; }

    .expand-list {
      display: none;
      cursor: pointer;
      position: absolute;
      right: 0;
      top: 20px;
    }
    .expand-list2 {
      top: auto; bottom:0;
    }

  }

  .city-advise-title{ font-size:40px;line-height:80px; color:red; text-align:center;   display:none;}

  /* 内容中的第一行, 当做标题 */
  .city-advise-item:nth-child(2) .status-point2{ text-align:center; font-weight:bold; font-size:28px;line-height:80px; }

/*
  #paragraph_1{ text-align:center; font-weight:bold; font-size:18px; }
  #paragraph_2{ text-align:center; border-bottom:2px solid red; line-height:30px; }
  #paragraph_3{ text-align:center; font-weight:bold; font-size:28px;line-height:80px; }
*/


}

.matrix-content {
  /*width: 90%;*/
  width: 1204px;
  margin: auto;
  display: flex;

  .tree {
    /*flex-basis: 24%;*/
    width: 280px; /*325px;*/
    margin-top:30px;

    .paragraph_menu{
      a { font-size:16px; font-weight:bold; color:#034EA2; display:block; }
      .paragraph_menu_sub a{ font-size:14px; padding-left: 16px; }
    }

    .btn_tochart{
      margin-top:20px;
    }

  }

  .content-right {
    /*flex-basis: 75%;*/
    /*width: 878px;*/
    width: 924px;
    border-left:1px dotted; /*border-right:1px dotted;*/
    padding-left:20px; padding-right:16px;
    position:relative; overflow: hidden;
    height: 1400px;

    ::ng-deep a, a:hover{ color:rgba(0,0,0,.85); }

    .btn_viewall{ position:absolute; bottom:0; width:100%; text-align:center; background-color:#fff; font-size:18px; line-height:60px; }

  }

  .content-right.viewall{
    height: auto;

    .btn_viewall{ display: none; }
  }

}


  .content-right2 {
      /*width: 277px; padding-left:10px;*/
      width: 280px; padding-right:10px;

      margin-top:10px;

      .related-policy {
        margin-top: 12px;

        .related-title {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 20px;

          .title-left {
            font-weight: bold;
            font-size: 16px;
            color: #034EA2;
          }

          .title-right {
            font-size: 14px;
            cursor: pointer;
            padding-top: 6px;
            color: #034EA2;
            /*margin-right: -14px;*/
          }
        }

        .content-list {
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          overflow: hidden;
          margin-bottom: 6px;
          cursor: pointer;
          font-size: 16px;

          span{
            margin-right:6px;
            width: 8px; height: 8px; border-radius: 4px; margin-left:3px; vertical-align: top; margin-top:10px;
            display: inline-block;background-color: #375295; 
          }
        }
      }
  }


.matrix-content.content-bottom{
  margin-top:40px;

  table{ table-layout: fixed; }
  /*tr:first-child { position:sticky; left:0; }*/

  td{ border:1px solid; empty-cells:show; position:relative; }

    /* 每行除了前2列, 其余列平分宽度。 (1204 - 72)/(n-2) */
  table.table_colnum_1 td{ width:100%; }
  table.table_colnum_2 td{ width:50%; }
  table.table_colnum_3 td{ width:1132px; }
  table.table_colnum_4 td{ width:566px; }
  table.table_colnum_5 td{ width:377px; }
  table.table_colnum_6 td{ width:283px; }
  table.table_colnum_7 td{ width:226px; }
  table.table_colnum_8 td{ width:188px; }
  table.table_colnum_9 td{ width:161px; }
  table.table_colnum_10 td{ width:141px; }
  table.table_colnum_11 td{ width:125px; }
  table tr td:first-child, tr td:nth-child(2){ width:46px!important; }

  td ::ng-deep a{ position:relative; color:#034ea2; padding-left:12px;}
  td ::ng-deep a:before{
    content: " ";
    width: 10px; height: 10px; top: 5px; left: 0;
    border-radius:50%;
    display: inline-block;
    position: absolute;
    background-color: #034ea2;
  }

  /* 用作锚点 */
  td ::ng-deep a.chart_pos{ position:absolute;top:-50px; }
  td ::ng-deep a.chart_pos:before{ display:none; }

}





.matrix-line {
  display: flex;
  padding: 24px 0;
  border-bottom: 1px dotted;
  margin-top: 12px;

  .one-level {
    font-size: 16px;
    font-weight: bold;
    flex-basis: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

  }

  .divider {
    height: 90%;
    background: lightgray;
    flex-basis: 1px;
  }

  .two-level {
    flex-basis: 75%;

    .two-words {
      color: #034ea2;
      font-size: 16px;
      margin-top: 8px;
      cursor: pointer;
    }

    .tag {
      line-height: 36px;

      nz-tag {
        font-size: 14px;
        border-radius: 12px;
        cursor: pointer;
        border-color: #777777;
      }
    }
  }

}

.top-word-bold {
  font-size: 16px;
  font-weight: bold;
}

.ant-tree ::ng-deep .ant-tree-node-content-wrapper {
  color: #034ea2;
}

.h-foot {
  position: unset;
}
